//
//  NSObject+HDChatListManager.h
//  app
//
//  Created by D on 15/5/18.
//  Copyright (c) 2015年 hdaren. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HDChatListResult.h"
#import "HDChatListModel.h"


@interface  HDChatListManager : NSObject

+(HDChatListManager*)shareManager;
-(void)loadChatListData:(HDChatListResult *)result Refresh:(NSString*)refresh;
-(void)deleteChatListCell:(HDChatListResult*)result ChatPmid:(NSString*)pmid;

- (BOOL)shouldRefreshChatListData;
- (BOOL)fmdbIncludeChatList;
- (BOOL)fmdbIncludeData;
- (NSMutableArray *)arrayFromFmdb;
-(void)deleteDataToDB:(NSString *)pmid;
-(void)saveToFmdbWithDic:(NSArray*)array;
-(void)updataAndDeleteToDB:(NSString*)pmid;
-(void)updataToDBWithDic:(NSDictionary*)dic;
- (void)createFmdb;
@end
